/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.anbang.website.vo;

import java.io.Serializable;

/**
 * 订单信息Entity
 * @author peepul
 * @version 2015-10-15
 */
public class OrderDetail implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private Long id;
	private String artid;		// ERP商品唯一标识
	private Long amount;		// 数量
	private Double costPrice;		// 客户单价
	private Double favorablePrice;		// 业务联系人单价
	private Double totalPrice;		// 总价
	private Long returnsAmount;		// 退货数量
	private Long cancleAmount;		// 取消数量
	private Long finishAmount;		// 完成数量
	private Long doAmount;		// 执行数量
	private Long obligateAmount;		// 申请预留数量
	private Long productionsId;		// 商品信息id
	private Long orderId;		// 订单信息父id 父类
	private Integer status;		// 单据状态
	private Integer packageid;		// 件装号
	private String orderCode;//订单编码
	
	private Order order;
	private Productions productions;
	
	/**
	 * @return the order
	 */
	public Order getOrder() {
		return order;
	}

	/**
	 * @param order the order to set
	 */
	public void setOrder(Order order) {
		this.order = order;
	}

	public OrderDetail() {
		super();
	}

	/**
	 * @return the orderCode
	 */
	public String getOrderCode() {
		return orderCode;
	}

	/**
	 * @param orderCode the orderCode to set
	 */
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public OrderDetail(Long id){
		this.id = id;
	}

	public OrderDetail(Order order){
		this.order = order;
	}
	
	/**
	 * @return the packageid
	 */
	public Integer getPackageid() {
		return packageid;
	}

	/**
	 * @param packageid the packageid to set
	 */
	public void setPackageid(Integer packageid) {
		this.packageid = packageid;
	}

	/**
	 * @return the productions
	 */
	public Productions getProductions() {
		return productions;
	}

	/**
	 * @param productions the productions to set
	 */
	public void setProductions(Productions productions) {
		this.productions = productions;
	}

	public String getArtid() {
		return artid;
	}

	public void setArtid(String productId) {
		this.artid = productId;
	}
	
	public Long getAmount() {
		return amount;
	}

	public void setAmount(Long amount) {
		this.amount = amount;
	}
	
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	public Double getCostPrice() {
		return costPrice;
	}

	public void setCostPrice(Double costPrice) {
		this.costPrice = costPrice;
	}
	
	public Double getFavorablePrice() {
		return favorablePrice;
	}

	public void setFavorablePrice(Double favorablePrice) {
		this.favorablePrice = favorablePrice;
	}
	
	public Double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}
	
	public Long getReturnsAmount() {
		return returnsAmount;
	}

	public void setReturnsAmount(Long returnsAmount) {
		this.returnsAmount = returnsAmount;
	}
	
	public Long getCancleAmount() {
		return cancleAmount;
	}

	public void setCancleAmount(Long cancleAmount) {
		this.cancleAmount = cancleAmount;
	}
	
	public Long getFinishAmount() {
		return finishAmount;
	}

	public void setFinishAmount(Long finishAmount) {
		this.finishAmount = finishAmount;
	}
	
	public Long getDoAmount() {
		return doAmount;
	}

	public void setDoAmount(Long doAmount) {
		this.doAmount = doAmount;
	}
	
	public Long getObligateAmount() {
		return obligateAmount;
	}

	public void setObligateAmount(Long obligateAmount) {
		this.obligateAmount = obligateAmount;
	}
	
	public Long getProductionsId() {
		return productionsId;
	}

	public void setProductionsId(Long productionsId) {
		this.productionsId = productionsId;
	}
	
	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
}